package com.qingsong.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.Pattern;
import java.io.Serializable;

/** @author qingsong */
@Schema(name = "评论全查VO")
@Data
public class CommentSimpleListVO implements Serializable {

    @Schema(description = "主键")
    private Long id;

    @Schema(description = "评论内容")
    private String content;

    @Schema(description = "父评论主键，0视为根节点")
    private Long pid;
}